package com.example.powernodemall.ProjectEnum;


public enum ResultEnum {
    SUCCESS(200,"成功"),
    NOT_FOND(404,"未找到"),
    SEVER_ERROR(500,"服务器内部错误"),
    NO_AUTHORIZATION(401,"未授权,请重试"),
    PROHIBIT_LOGiN(403,"请重新登录");
    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
